package com.kun.mapper.cluster.custom;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kun.mapper.cluster.ClusterUserMapper;
/**
 * 扩展读mapper
 * */
public interface UserMapperRCustom extends ClusterUserMapper{
	//扩展
    String selectPrimaryKeyByUsername(String username);
    
    String selectPrimaryKeyByEmail(String email);
    
    String selectPrimaryKeyByPhone(String phone);
    
    //String selectPrimaryKeyByWechat(String wechat);
    
    List<String> selectPrimaryOnlyLikeNickName(@Param("nickname") String nickname);
    
    List<String> selectPrimaryKeyLikeNickName(@Param("nickname") String nickname,@Param("realname") String realname);
    
    List<String> selectUserByRealameAndIdcard(@Param("realname") String realname,@Param("idCard") String idCard);
}
